crypto/tls.Conn.peerCertificates (field)

17 uses

	crypto/tls (current package)
		conn.go#L53: 	peerCertificates []*x509.Certificate
		conn.go#L1611: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1654: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L586: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L596: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L643: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L809: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client.go#L1009: 	c.peerCertificates = certs
		handshake_client_tls13.go#L364: 	c.peerCertificates = hs.session.peerCertificates
		handshake_client_tls13.go#L563: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_server.go#L492: 	c.peerCertificates = sessionState.peerCertificates
		handshake_server.go#L642: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L688: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L913: 	c.peerCertificates = certs
		handshake_server_tls13.go#L380: 		c.peerCertificates = sessionState.peerCertificates
		handshake_server_tls13.go#L948: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		ticket.go#L298: 		peerCertificates:  c.peerCertificates,